//
//  SINACustomPickView.h
//  sinashebao
//
//  Created by  androidlongs on 2017/12/22.
//  Copyright © 2017年  androidlongs. All rights reserved.
//

#import "SINABasePickView.h"

typedef NS_ENUM(NSInteger,CommonTimeType){
    YEAER_MAONTH_DAY=1,//年月日
    YEAER_MAONTH_DAY_HOURE=2,//年月日 时
    YEAER_MAONTH_DAY_HOURE_MIN=3,//年月日 时分
    YEAER_MAONTH_DAY_HOURE_MIN_SEC=4,//年月日 时分秒
    
    HOURE_MIN_SEC=6,//时分秒
    HOURE_MIN=5,//时分
    
    
};

@class SINACommonTimePickView;

@protocol  CommonTimeSelectViewDelegate<NSObject,BasePickViewDelegate>
- (void)commonTimeSelectPickView:(SINACommonTimePickView *)customPickView andWithYear:(NSString *)year andWithMonth:(NSString *)mon andWithDay:(NSString *)day andWithHoure:(NSString *)houre andWithMin:(NSString *)min andWithSec:(NSString *)sec;
- (void)dismissServiceTimeSelectPickView:(SINACommonTimePickView *)customPickView;
@end
@interface SINACommonTimePickView : SINABasePickView
@property(nonatomic, weak)id <CommonTimeSelectViewDelegate>delegate;

//默认选择的年月日
-(void)comTimePicViewDefaultSelect:(SINACommonTimePickView *)customPickView andWithYear:(NSInteger)year andWithMonth:(NSInteger)mon andWithDay:(NSInteger)day andWithHoure:(NSInteger)houre andWithMin:(NSInteger)min andWithSec:(NSInteger)sec;
@property (nonatomic)CommonTimeType currentTimeStyle;
@end
